package com.rht.gulimallmember.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 成长值变化历史记录
 * 
 * @author rht
 * @email rht@qq.com
 * @date 2024-11-07 13:57:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("ums_growth_change_history")
public class GrowthChangeHistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
			@TableId
			private Long id;

	/**
	 * member_id
	 */
			private Long memberId;

	/**
	 * create_time
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date createTime;

	/**
	 * 改变的值（正负计数）
	 */
			private Integer changeCount;

	/**
	 * 备注
	 */
			private String note;

	/**
	 * 积分来源[0-购物，1-管理员修改]
	 */
			private Integer sourceType;


}
